home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr28 / charon40.zip / SAMPLE.DAT < prev    next >
Text File  |  1993-03-01  |  19KB  |  555 lines

  1. ; charon.dat -- sample charon configuration data file 
  2. ;
  3. ; ########################################################################
  4. ; ###     Important. This sample file contains all possible options     ###
  5. ; ###  You won't need as many. Please don't use this as your .dat file ###
  6. ; ########################################################################
  7. ; all text following a ';' on each line is considered to be a
  8. ; comment line.
  9. ;
  10. ; Quoted Strings may contain escaped characters
  11. ;    \nnn        An octal escape
  12. ;    \e        Decimal 27 ESCAPE
  13. ;    \r        Decimal 13 CR
  14. ;    \n        Decimal 10 NL
  15. ;    \\        The character '\'
  16. ;
  17. ; Quoted strings may continue accross line boundaries, in which case the
  18. ; <CR><NL> will become part of the quoted string.
  19. ;
  20. ;
  21. ; This file is a 'free format' file. The columar position is not
  22. ; important during the parsing of this file.
  23. ;
  24. ; What is important is the sequencing of the command elements, the
  25. ; having the proper number of arguements for each command.
  26. ;
  27. ; Arguements that do not contain spaces do not require quotes.
  28. ;
  29. ; ########################## GENERAL SETTINGS ##############################
  30.  
  31. myname    romulus.erc.clarkson.edu    ; the internet name of the gateway machine
  32.  
  33. screensave    15            ; 15 second screen saver timeout
  34.                     ; a value of 0 disables the screen saver
  35.  
  36. rconsole                ; include this parameter if you want
  37.                     ; to enable remote terminals to telnet
  38.                     ; into the gateway and view the console.
  39.  
  40.                     ; users will be required to log in.
  41.                     ; they must be direct members of the
  42.                     ; group "RCONSOLE"
  43.  
  44.                     ; this function is not supported under
  45.                     ; the RTLINK version of Charon.
  46.  
  47. fingerd                    ; include this parameter to enable
  48.                     ; the built in finger Daemon
  49.  
  50. ; ########################## LPR CONTROL  ######################
  51.  
  52. lpr                    ; begin the LPR control section
  53.     max_lprs    1        ; set the max number of LPRS
  54.                     ; the default is 1
  55.  
  56.     debug                ; enable a debugging window
  57.                     ; otherwise, comment out to go without
  58.  
  59. ; ######################### LPD CONTROL ###################################
  60.  
  61. lpd                    ; begin the LPD section
  62.     max_lpds    1        ; set the max number of listening LPDs
  63.                     ; 0 is the default (no LPDS)
  64.  
  65.     debug                ; enable an LPD debugging window
  66. ; ######################### TRANSLATOR SECTION ###############################
  67.  
  68. translators                ; marks the beginning of translators
  69.  
  70.                     ; ### xlate_load defs must come first
  71.  
  72.     xlate_load    "txt2ps"    ; the internal name of the `load'
  73.             "txt2ps"    ; the external filename.
  74.  
  75.                     ; these files are stored in the master
  76.                     ; spool directory under the bin subdir
  77.  
  78.                     ; txt2ps converts text into Postscript
  79.  
  80.     xlate_load    "lf2crlf"
  81.             "lf2crlf"    ; another example.
  82.                     ; this one converts LF to <CR><LF>
  83.  
  84.     xlate_load    "tagchg"
  85.             "tagchg"    ; this one twiddles the TAG values
  86.  
  87.  
  88.                     ; ### next comes the use section
  89.  
  90.     xlate_use    "txt2ps"    ; the internal name of the use
  91.             "txt2ps"    ; the internal name of the load (see above)
  92.  
  93.             loadstring    "-nobanner"
  94.                     ; the optional loadstring which is an arg
  95.                     ; passed to the running use.
  96.  
  97.     xlate_use    "text_ff_nobanner"    ; hey, a readable name
  98.             "tagchg"    ; uses tagchange
  99.             loadstring    "+CF & 127 +CF | 64"
  100.                     ; this tells TAGCHG to clear the DOBANNER flags
  101.                     ; and sets the TEXT and FF flag (see tagvalue.h)
  102.  
  103.     xlate_use    "lf2crlf"
  104.             "lf2crlf"    ; we don't need a loadstring...
  105.  
  106.     
  107.                     ; ### finally comes the list section
  108.  
  109.     xlate_list    "postscript"    ; the internal name of the list
  110.         use    "txt2ps"    ; the list of uses to use
  111.  
  112.     xlate_list    "standard_text"
  113.         use    "text_ff_nobanner"    ; tagchg will always rescan
  114.         use    "lf2crlf"
  115.  
  116.  
  117. ;############################ SERVER SECTION ################################
  118.  
  119. server     "draco"                ; enter the Novell server name, 
  120.                     ; and additional server information
  121.         userid         "charon"    ; the Print Server Account name
  122.         password     ""        ; the Print Server Account password
  123.  
  124.         mailqueue     "mailqueue"    ; the name of the mailqueue
  125.             poll        10     ; poll this queue every Poll seconds
  126.  
  127.     master        "vol1:usr\\staff\\bkc\\charon"
  128.                     ; at least one server must be a
  129.                     ; master server w/ a spool dir
  130.  
  131.     incoming    "folas"        ; the name of an incoming queue
  132.                     ; (matches pconsole name)
  133.  
  134.         name    "fuzzylas"    ; this optional parm lets you change
  135.                     ; the internal name of the queue
  136.                     ; to 'name'. If not specified,the
  137.                     ; internal name
  138.                     ; matches the `incoming' argument
  139.                     ; which is the real queue name on
  140.                     ; the server (in this example, folas)
  141.  
  142.         map    "sample.map"    ; the access control map which lives
  143.                     ; under the master spool directory
  144.                     ; in the maps directory
  145.  
  146.                     ; optional, if missing, anyone can have
  147.                     ; access
  148.  
  149.         translate    "standard_text"    ; uses the standard text translate list
  150.  
  151.         initdata    "\e[2J"    ; initialization text string (stupid example)
  152.  
  153.         initfile    "folas.ini" ; an initialization file which lives under
  154.                     ; the master spool directory in the PDATA subdirectory
  155.  
  156.         resetdata    "\014"    ; sends a FF at the end of the file
  157.  
  158.         resetfile    "folas.res"; a file sent at the end of the job
  159.                     ; useful if the reset sequence is long
  160.  
  161.     outgoing    "stafflas"    ; an outgoing printer
  162.  
  163.         host        omnigate ; the destination host name, must
  164.                      ; appear the same in config.tel
  165.  
  166.         printer        staffps    ; the name of the printer on the remote
  167.                     ; host
  168.  
  169.         poll        15    ; how often to poll in seconds
  170.  
  171.         timeout        30    ; open timeout in seconds
  172.  
  173.         translate    postscript    ; uses the postscript translate list
  174.  
  175. server     "darius"
  176.         userid      "charon"
  177.     password     ""
  178.     mailqueue       "mailqueue"
  179.             poll            10
  180.  
  181. ; ###################### MAILER CONTROL #################################
  182.  
  183. mailer                              ; begin mailer information section
  184.         agent       "omnigate"    ; specify the config.tel name 
  185.                     ; of the smtp agent
  186.         lists               ; specify information about where
  187.                     ; mailing list information is stored
  188.             "draco"     ; The Master Novell Server
  189.             "sys:public\\lists"   ; the Directory on that Server
  190.                     ; Don't include trailing \
  191.                     ; and remember to use two of them
  192.                     ; because \ in quotes means an escape
  193.  
  194.     smtpout             ; specify where outgoing SMTP messages
  195.                     ; should be queued for transmission
  196.                     ; to the SMTP Agent.
  197.             "draco"     ; The Master Novell Server Name
  198.             "workqueue"      ; The name of the Queue on that Server.
  199.             10           ; How Frequently that queue should be
  200.                     ; polled
  201.  
  202.     smtpin              ; Specify where incoming SMTP messages
  203.                     ; should be queued.
  204.             "draco"        ; The Master Novell Server Name
  205.             mailqueue    ; The name of the Queue on that Server.
  206.  
  207.         listcycles      2           ; number of list addressees to deliver 
  208.                     ; to per cycle
  209.         listdelay       1           ; number of seconds to delay between 
  210.                     ; cycles during list delivery
  211.  
  212.         debug                       ; Inclusion of this parameter in the
  213.                     ; mailer section causes an SMTPD
  214.                     ; debug window to be created.
  215.                     ; Comment out the debug line if
  216.                     ; you don't need a debugging window.
  217.  
  218.         max_smtpds      2           ; Specify the maximum number of
  219.                     ; SMTPDs (they listen for incoming
  220.                     ; SMTP connections) that may be
  221.                     ; active at any given time.
  222.                     ; A new one is created when
  223.                     ; an incoming SMTP session is established.
  224.                     ; unless MAX_SMTPDs have already been
  225.                     ; created.
  226.  
  227.     nobroadcast            ; this optional parameter, if 
  228.                     ; included, instructs charon to
  229.                     ; not send broadcast messages to
  230.                     ; recipients when they receive
  231.                     ; new mail
  232.  
  233.     nodelconfirm            ; this optional parameter, if
  234.                     ; included, instructs charon to
  235.                     ; not return delivery confirmation
  236.                     ; notices.
  237.  
  238.     returnlines    0        ; this optional parameter specifies
  239.                     ; how many lines of message text
  240.                     ; in rejected messages should be
  241.                     ; returned to the sender.
  242.                     ; 0 means all lines. If not specified
  243.                     ; the default is 10
  244.  
  245.     returnto    "sender"    ; this optional parameter indicates who
  246.                     ; should receive rejected mail messages.
  247.                     ; possible choices are
  248.                     ;
  249.                     ;    "sender"   - default if not specified
  250.                     ;    "postmaster"
  251.                     ;    "both"
  252.  
  253.     timeout        600        ; this optional parameter sets the
  254.                     ; maximum execution time per message
  255.                     ; in seconds for outgoing and incoming
  256.                     ; smtp mail. The default is 10 minutes.
  257.                     ; 
  258.  
  259.     options        0        ; sets run time control options
  260.                     ; BE CAREFUL.
  261.                     ; the option arg is the or'ing of the
  262.                     ; following values, in decimal
  263.                     ;
  264.                     ;  1 - Accept any sender, even if the sender's
  265.                     ;      address couldn't be parsed
  266.                     ;    (X.400 addresses ?? )
  267.                     ;  2 - Accept any recipient, even if the recipient
  268.                     ;      is not local. (Could cause a mail loop)
  269.  
  270.     synonyms    "filename"    ; specify the name of a synonym file
  271.                     ; stored on the master server in the
  272.                     ; MAPS subdirectory of the master spool
  273.                     ; directory
  274.                     ; NOT NORMALLY NEEDED, see  CH_syn.EXE
  275.  
  276.  
  277. ; ########################## TIMESYNC SECTION #############################
  278.  
  279. timesync                ; this section lists the master and
  280.                     ; slave time synchronize entries
  281.                     ; which allows charon to synchronize
  282.                     ; the server time on novell servers
  283.                     ; to a single master novell server
  284.                     ; or to a unix system which supports
  285.                     ; rdate
  286.  
  287.     master    "omnigate"        ; the master name. This should either
  288.                     ; be your master novell server
  289.                     ; or the name of a unix system which
  290.                     ; supports rdate (be sure there is
  291.                     ; an entry for this host in your config.tel
  292.                     ; file
  293.  
  294.     mode    "tcp"            ; tcp - use tcp to get timeinfo
  295.                     ; udp - use udp
  296.                     ; (tcp is the default in this version)
  297.                     ; whereas udp was the default in past
  298.                     ; versions
  299.  
  300.     variance    1        ; specify the allowable variance
  301.                     ; in seconds. Server time won't be
  302.                     ; updated if it differs by less than
  303.                     ; this many seconds from the master
  304.  
  305.     slave    darius            ; list each slave novell server
  306.     slave    draco            ; the gateway group must be a console operator
  307.                     ; on these servers to set the time
  308.  
  309.     poll    86400            ; this parameter tells the gateway
  310.                     ; how often it should synchronize
  311.                     ; the servers. The value is in
  312.                     ; seconds and the default is once
  313.                     ; every 12 hours  (24 hours is shown
  314.                     ; in this file).
  315.  
  316. ; ########################## ALIASES #########################################
  317.  
  318. aliases                    ; this section lists the aliases
  319.  
  320.                     ; The NODE command equates a Novell
  321.                     ; Server with it's internet domain name.
  322.                     ; you must have a Node entry for each
  323.                     ; novell server serviced by this gateway.
  324.  
  325.         node    "draco.erc.clarkson.edu" ; Specify the Internet name of a Novell Server
  326.         "draco"            ; along with its Novell Name
  327.  
  328.         node    "darius.erc.clarkson.edu" ; Specify the Internet name of a Novell Server
  329.         "darius"        ; along with its Novell Name
  330.  
  331.                     ; The USER command defines an alias
  332.                     ; for a Novell Username (optionally at a host)
  333.                     ;
  334.                     ; you MUST specify an alias for Postmaster.
  335.  
  336.                     ; you MAY specify an alias for Postmaster
  337.                     ; on each server.
  338.  
  339.                     ; first the global alias is checked
  340.                     ; (an alias without a host specified)
  341.                     ; then an alias for the target user@host
  342.                     ; is checked
  343.  
  344.         user    "postmaster"            ; Specify an alias for the Postmaster (required)
  345.         "supervisor@draco"    ; to actually send mail to this user on this Novell Server
  346.  
  347.         user    "postmaster@darius"     ; Specify an alias for the Postmaster on Novell Server Darius
  348.         "supervisor@darius"    ; to send it to the supervisor on Darius
  349.  
  350.         user    "postmaster@draco"      ; Same as Above
  351.         "supervisor@draco"    ; Send it to supervisor on draco instead
  352.  
  353.         user    "novell-l-request"      ; Enter an alias for a list maintainer
  354.         "bkc@draco"        ; Thats me
  355.  
  356.     user    "supervisor@darius"    ; this is an interesting one
  357.         "bkc@omnigate.clarkson.edu" ; entered just to prove a point.
  358.                     ; you can 'nest' aliases up to 10
  359.                     ; deep.
  360.                     ; in this case, mail to postmaster@darius
  361.                     ; would go to supervisor@darius which
  362.                     ; is actually sent to bkc@omnigate.clarkson.edu
  363.  
  364.                     ; the LIST command specifies the required
  365.                     ; information about mailing lists which
  366.                     ; you want the gateway to be able to expand.
  367.  
  368.         list       "novell-l"          ; the name of the list (like a userid)
  369.         "novell.lst"        ; the name of the file in the lists dir
  370.                     ; (see mailer section above) that contains
  371.                     ; the subscribers to the list.
  372.                     ; The format of a list file is the
  373.                     ; same as what Pmail uses, and both
  374.                     ; pmail and charon can use the same
  375.                     ; list file.
  376.                     ; (one addressee per line).
  377.  
  378.     list    "charon-l"          ; here's another list    
  379.         "charon.lst"
  380.  
  381.                     ; here's how you equate a list to a Novell group
  382.  
  383.     list    "everyone"
  384.         ":draco/everyone"    ; the format is server/group
  385.                     ; the ':' flags this as being a group
  386.                     ; list, and not a file
  387.  
  388.     printer    "fatlaser"        ; an incoming LPR connection asking for fatlaser
  389.         "folas@draco"        ; gets sent to queue folas on draco
  390.  
  391.                     ; note also that an incoming mail message
  392.                     ; to user fatlaser will also get sent
  393.                     ; to folas@draco
  394.  
  395. ; ########################## LOGFILES ########################################
  396.  
  397. logfiles                ; The logfiles section describes
  398.                     ; files to be used to log
  399.                     ; accounting and message information
  400.                     ; in.
  401.                     ; Information written to a log file
  402.                     ; consists of key/value pairs
  403.                     ; written with an optional seperator
  404.                     ; string between values and an optional
  405.                     ; field width.
  406.  
  407.  
  408.         file    "system"        ; the internal name of this 
  409.                     ; particular log file. The name
  410.                     ; is referenced later in the file.
  411.  
  412.             server  "draco"            ; the file server which we wish
  413.                         ; to use to store the log file on.
  414.                         ; This parameter is optional, and if
  415.                         ; not given implies that the log
  416.                         ; file will be stored on a non-novell
  417.                         ; drive.
  418.             name    "vol1:usr\\staff\\bkc\\charon\\logs\\system.act"
  419.                         ; the real physical name of the log file.
  420.                         ; it may reference a local drive, if
  421.                         ; desired.
  422.  
  423.                         ; should go in the logs subdirectory of
  424.                         ; the master spool directory
  425.  
  426.             maxsize 64000               ; This optional parameter specifies
  427.                         ; the maximum size of the file. If
  428.                         ; not given, the log file can grow to
  429.                         ; any length.
  430.  
  431.             recycle                 ; This optional parameter is used along
  432.                         ; with the maxsize variable to indicate
  433.                         ; what action should be taken when
  434.                         ; the log file reaches maximum size.
  435.                         ; Recycle means that the write pointer
  436.                         ; is moved to the beginning of the file
  437.                         ; and operation continues.
  438.  
  439.             separator   " "         ; optional, specifies the seperator string to
  440.                         ; be output between data fields.
  441.                         ; this string can contain newlines "\n"
  442.                         ; commas, anything you want.
  443.  
  444.     ;       showtags                ; This boolean option indicates that
  445.                         ; the key names should be written to
  446.                         ; the file preceeding the values.
  447.  
  448.     ;    columns        16        ; this optional parameter specifies
  449.                         ; the maximum and minimum field width
  450.                         ; for the data values written to the
  451.                         ; log file. Values shorter than this
  452.                         ; width are padded on the left
  453.                         ; values longer are truncated.
  454.         
  455.         file    "smtp_accounting"    ; the internal name of the file
  456.             server  draco               ; which server we want
  457.             name    "vol1:usr\\staff\\bkc\\charon\\logs\\smtp.act" ; the name of the physical file.
  458.  
  459.  
  460.             maxsize 64000
  461.             recycle         
  462.             separator   ","            ; comma seperator
  463.  
  464.         file    lpr_accounting
  465.             server    draco
  466.         name      "vol1:usr\\staff\\lpr\\charon\\logs\\lpr.act"
  467.         maxsize 1048576
  468.         recycle
  469.         separator ","
  470.  
  471. ; ############################### LOGS SECTION #########################
  472.  
  473. log                    ; this section attaches processes
  474.                     ; to log files
  475.  
  476.         process     "system"        ; which process we want to log
  477.         file        "system"          ; which log file we will use
  478.                     ; this corresponds to a file statement
  479.                     ; from the logfiles section
  480.         item    date            ; record the date
  481.         item    info        ; log informationals
  482.         item    warn        ; log warnings
  483.  
  484.     process smtpout         ; smtp output
  485.         file    smtp_accounting
  486.         item    date
  487.         item    time
  488.         item    process
  489.         item    sender_name ; log the senders name
  490.         item    sender_node ; log the senders node
  491.         item    filesize    ; log the size of the message
  492.         item    destination_name ; log the destination userid
  493.         item    destination_node ; log the destination node
  494.         item    message_id
  495.  
  496.     process mailer          ; mailer transfers to novell mailboxes
  497.         file    smtp_accounting
  498.         item    date
  499.         item    time
  500.         item    process
  501.         item    sender_name ; log the senders name
  502.         item    sender_node ; log the senders node
  503.         item    filesize    ; log the size of the message
  504.         item    destination_name ; log the destination userid
  505.         item    destination_node ; log the destination node
  506.         item    message_id
  507.  
  508.     process smtpin        ; this isn't too useful from an accounting
  509.                 ; standpoint, since entries here will also
  510.                 ; show up under the mailer entry
  511.         file    smtp_accounting
  512.         item    date
  513.         item    time
  514.         item    process
  515.         item    sender_name ; log the senders name
  516.         item    sender_node ; log the senders node
  517.         item    filesize    ; log the size of the message
  518.         item    destination_name ; log the destination userid
  519.         item    destination_node ; log the destination node
  520.         item    message_id
  521.  
  522.         process spool_lpr          ; mailer transfers to novell mailboxes
  523.         file    lpr_accounting
  524.             item    date
  525.             item    time
  526.             item    process
  527.             item    sender_name ; log the senders name
  528.             item    sender_node ; log the senders node
  529.             item    filesize    ; log the size of the message
  530.             item    destination_name ; log the destination userid
  531.             item    destination_node ; log the destination node
  532.             item    message_id    ; the file name
  533.  
  534.         process spool_lpd          ; mailer transfers to novell mailboxes
  535.         file    lpr_accounting
  536.             item    date
  537.             item    time
  538.             item    process
  539.             item    sender_name ; log the senders name
  540.             item    sender_node ; log the senders node
  541.             item    filesize    ; log the size of the message
  542.             item    destination_name ; log the destination userid
  543.             item    destination_node ; log the destination node
  544.             item    message_id    ; the file name
  545.  
  546.  
  547.  
  548. ; Note: You may enter a process name more than once. If you want
  549. ; to record process information to two different log files,
  550. ; just enter the process name twice and use a different file statement
  551. ; each time.
  552.  
  553.